/*

    Lib3D Extension, imported from:

    GFX - a small graphics library 
    Copyright (C) 2004  Rafael de Oliveira Jannone

    Cross product of the z axis of v1 by v2

    $Id: vector_cross_product_z.c,v 1.1 2009-04-10 12:47:42 stefano Exp $
*/


#include <lib3d.h>

int vector_cross_product_z (vector_t* v1, vector_t* v2) {
    return ((v1->x * v2->y) - (v1->y * v2->x));
}
